﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IMS
{
    public partial class FmLoad : Form
    {
        public FmLoad()
        {
            InitializeComponent();
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            if (true)
            {
                this.DialogResult = DialogResult.OK;
                this.Close();
            }
            else
            {
                this.tbLgpass.Focus();
            }
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnSet_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            FmLoadSet fmLoadSet = new FmLoadSet();
            if (fmLoadSet.ShowDialog() == DialogResult.OK)
            {

            }
            this.Visible = true;
        }
    }
}
